package com.xunk.equipment.config;

import com.xunk.equipment.influxdb.InfluxCustomMapper;
import org.influxdb.InfluxDB;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class InfluxConfiguration {

    @Bean
    public InfluxCustomMapper influxMapper(InfluxDB influxDB) {
        InfluxCustomMapper influxMapper = new InfluxCustomMapper(influxDB);
        return influxMapper;
    }
}